package com.sdy.po;

import java.util.Date;

public class Company {

    private Integer id;
    private String name;
    private String time;
    private String info;
    private String code;
    private Boolean state;
    private String img;

    public Company(Integer id) {
        this.id = id;
    }

    public Company(Integer id, String name, String time, String info, String code, Boolean state, String img) {
        this.id = id;
        this.name = name;
        this.time = time;
        this.info = info;
        this.code = code;
        this.state = state;
        this.img = img;
    }

    @Override
    public String toString() {
        return "Company{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", time=" + time +
                ", info='" + info + '\'' +
                ", code='" + code + '\'' +
                ", state=" + state +
                ", img='" + img + '\'' +
                '}';
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public Company(Integer id, String name, String code, Boolean state) {
        this.id = id;
        this.name = name;
        this.code = code;
        this.state = state;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public Company(Integer id, String name, String time, String info, String code, Boolean state) {
        this.id = id;
        this.name = name;
        this.time = time;
        this.info = info;
        this.code = code;
        this.state = state;
    }

    public Boolean getState() {
        return state;
    }

    public void setState(Boolean state) {
        this.state = state;
    }

    public Company(Integer id, String name) {
        this.id = id;
        this.name = name;
    }

    public Company() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Company(Integer id, String name, String code) {
        this.id = id;
        this.name = name;
        this.code = code;
    }
}
